package com.etc.emsys.domain;

/**
 * 数据模型
 */
public class DeptPojo {
    public DeptPojo() {
    }

    public DeptPojo(int deptno, String dname) {
        this.deptno = deptno;
        this.dname = dname;
    }

    private int deptno;
    private String dname;

    public int getDeptno() {
        return deptno;
    }

    public void setDeptno(int deptno) {
        this.deptno = deptno;
    }

    @Override
    public String toString() {
        return dname;
    }

    public String getDname() {
        return dname;
    }

    public void setDname(String dname) {
        this.dname = dname;
    }
}
